package com.lagou.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient//开启注册中心 客户端 通用型注解 比如注册到Eureka Nacos等 说明从SpringCloud 的 Edgware 版本 开始  不加注解 也ok 建议加上
@EnableFeignClients
/**
 * 注解简化写法
 * @SpringCloudApplication =
 @SpringBootApplication+@EnableDiscoveryClient+@EnableCircuitBrea
 ker
 */
public class AutodeliverApplication8096 {
    public static
    void main(String[] args) {
        SpringApplication.run(AutodeliverApplication8096.class, args);
    }

}